package org.jeecg.modules.demo.kcmx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.kcmx.entity.*;
import org.jeecg.modules.demo.kcmx.mapper.JxcKcmxMapper;
import org.jeecg.modules.demo.kcmx.service.IJxcKcmxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 库存明细
 * @Author: jeecg-boot
 * @Date:   2024-07-01
 * @Version: V1.0
 */
@Service
public class JxcKcmxServiceImpl extends ServiceImpl<JxcKcmxMapper, JxcKcmx> implements IJxcKcmxService {
    @Autowired
    private JxcKcmxMapper jxcKcmxMapper;
    @Override
    public void setChuku(String zcOnly, String zcShiji,String newKucun,String companyId) {
        jxcKcmxMapper.setChuku(zcOnly,zcShiji,newKucun,companyId);
    }

    @Override
    public JxcKcmx getByOnly(String zcOnly,String companyId) {
        return jxcKcmxMapper.getByOnly(zcOnly,companyId);
    }

    @Override
    public List<String> getbh(String companyId) {
        return jxcKcmxMapper.getbh(companyId);
    }

    @Override
    public JxcYsk getyskByzcOnly(String zcOnly,String companyId) {
        return jxcKcmxMapper.getyskByzcOnly(zcOnly,companyId);
    }

    @Override
    public JxcChuku getChukuByzcOnly(String zcOnly,String companyId) {
        return jxcKcmxMapper.getChukuByzcOnly(zcOnly,companyId);
    }

    @Override
    public JxcRuku getRukuByzcOnly(String zcOnly,String companyId) {
        return jxcKcmxMapper.getRukuByzcOnly(zcOnly,companyId);
    }

    @Override
    public JxcYfk getyfkByzcOnly(String zcOnly,String companyId) {
        return jxcKcmxMapper.getyfkByzcOnly(zcOnly,companyId);
    }

    @Override
    public List<String> getJSList(String companyId) {
        return jxcKcmxMapper.getJSList(companyId);
    }

    @Override
    public void setjsfs(String jsfs1,String id,String companyId) {
        jxcKcmxMapper.setjsfs(jsfs1,id,companyId);
    }

    @Override
    public List<String> getcompanyList(String companyId) {
        return jxcKcmxMapper.getcompanyList(companyId);
    }

    @Override
    public void setcompany(String company1,String id,String companyId) {
        jxcKcmxMapper.setcompany(company1,id,companyId);
    }

    @Override
    public List<String> getyfkList(String companyId) {
        return jxcKcmxMapper.getyfkList(companyId);
    }

    @Override
    public List<String> getyskList(String companyId) {
        return jxcKcmxMapper.getyskList(companyId);
    }

    @Override
    public JxcRuku getByRukuId(String id,String companyId) {
        return jxcKcmxMapper.getByRukuId(id,companyId);
    }

    @Override
    public JxcChuku getByChukuId(String id,String companyId) {
        return jxcKcmxMapper.getByChukuId(id,companyId);
    }

    @Override
    public void setRuku(String zcOnly, String zcShiji,String newKucun,String companyId) {
        jxcKcmxMapper.setRuku(zcOnly,zcShiji,newKucun,companyId);
    }
}
